Re-implement the feature of showing eldoc info after editing.
authorLeo Liu <sdl.web@gmail.com>
Sun, 12 Jan 2014 04:00:03 +0000 (12:00 +0800)
committerLeo Liu <sdl.web@gmail.com>
Sun, 12 Jan 2014 04:00:03 +0000 (12:00 +0800)
commit55f7f91ebb04aaeb5c2452a9fb228b94d3e6d32a
tree16d7c89bea44058b17d373ac86d93cb2dd09e582
parentc4fa997a9fcb15fcf960de429dd1374a36150a70
Re-implement the feature of showing eldoc info after editing.

* emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
(eldoc-edit-message-commands): New function.
(eldoc-print-after-edit): New variable.
(eldoc-pre-command-refresh-echo-area): Emit message only by
eldoc-message-commands.
(eldoc-mode): Restrict eldoc-message-commands to editing commands
if eldoc-print-after-edit is set.

* progmodes/octave.el (octave-mode-menu): Adapt to change in
eldoc.
lisp/ChangeLog
lisp/emacs-lisp/eldoc.el
lisp/progmodes/octave.el
lisp/simple.el